﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000B53 RID: 2899
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MNFCLOPJJBO : IMessage<MNFCLOPJJBO>, IMessage, IEquatable<MNFCLOPJJBO>, IDeepCloneable<MNFCLOPJJBO>, IBufferMessage
	{
		// Token: 0x1700249B RID: 9371
		// (get) Token: 0x060081A4 RID: 33188 RVA: 0x0015A260 File Offset: 0x00158460
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MNFCLOPJJBO> Parser
		{
			get
			{
				return MNFCLOPJJBO._parser;
			}
		}

		// Token: 0x1700249C RID: 9372
		// (get) Token: 0x060081A5 RID: 33189 RVA: 0x0015A267 File Offset: 0x00158467
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MNFCLOPJJBOReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700249D RID: 9373
		// (get) Token: 0x060081A6 RID: 33190 RVA: 0x0015A279 File Offset: 0x00158479
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MNFCLOPJJBO.Descriptor;
			}
		}

		// Token: 0x060081A7 RID: 33191 RVA: 0x0015A280 File Offset: 0x00158480
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MNFCLOPJJBO()
		{
		}

		// Token: 0x060081A8 RID: 33192 RVA: 0x0015A288 File Offset: 0x00158488
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MNFCLOPJJBO(MNFCLOPJJBO other) : this()
		{
			this.num_ = other.num_;
			this.passengerId_ = other.passengerId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060081A9 RID: 33193 RVA: 0x0015A2B9 File Offset: 0x001584B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MNFCLOPJJBO Clone()
		{
			return new MNFCLOPJJBO(this);
		}

		// Token: 0x1700249E RID: 9374
		// (get) Token: 0x060081AA RID: 33194 RVA: 0x0015A2C1 File Offset: 0x001584C1
		// (set) Token: 0x060081AB RID: 33195 RVA: 0x0015A2C9 File Offset: 0x001584C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Num
		{
			get
			{
				return this.num_;
			}
			set
			{
				this.num_ = value;
			}
		}

		// Token: 0x1700249F RID: 9375
		// (get) Token: 0x060081AC RID: 33196 RVA: 0x0015A2D2 File Offset: 0x001584D2
		// (set) Token: 0x060081AD RID: 33197 RVA: 0x0015A2DA File Offset: 0x001584DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PassengerId
		{
			get
			{
				return this.passengerId_;
			}
			set
			{
				this.passengerId_ = value;
			}
		}

		// Token: 0x060081AE RID: 33198 RVA: 0x0015A2E3 File Offset: 0x001584E3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MNFCLOPJJBO);
		}

		// Token: 0x060081AF RID: 33199 RVA: 0x0015A2F1 File Offset: 0x001584F1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MNFCLOPJJBO other)
		{
			return other != null && (other == this || (this.Num == other.Num && this.PassengerId == other.PassengerId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060081B0 RID: 33200 RVA: 0x0015A330 File Offset: 0x00158530
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Num != 0U)
			{
				num ^= this.Num.GetHashCode();
			}
			if (this.PassengerId != 0U)
			{
				num ^= this.PassengerId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060081B1 RID: 33201 RVA: 0x0015A388 File Offset: 0x00158588
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060081B2 RID: 33202 RVA: 0x0015A390 File Offset: 0x00158590
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060081B3 RID: 33203 RVA: 0x0015A39C File Offset: 0x0015859C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Num != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.Num);
			}
			if (this.PassengerId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.PassengerId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060081B4 RID: 33204 RVA: 0x0015A3F8 File Offset: 0x001585F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Num != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Num);
			}
			if (this.PassengerId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PassengerId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060081B5 RID: 33205 RVA: 0x0015A450 File Offset: 0x00158650
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MNFCLOPJJBO other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Num != 0U)
			{
				this.Num = other.Num;
			}
			if (other.PassengerId != 0U)
			{
				this.PassengerId = other.PassengerId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060081B6 RID: 33206 RVA: 0x0015A4A0 File Offset: 0x001586A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060081B7 RID: 33207 RVA: 0x0015A4AC File Offset: 0x001586AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					if (num != 88U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.PassengerId = input.ReadUInt32();
					}
				}
				else
				{
					this.Num = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040031C0 RID: 12736
		private static readonly MessageParser<MNFCLOPJJBO> _parser = new MessageParser<MNFCLOPJJBO>(() => new MNFCLOPJJBO());

		// Token: 0x040031C1 RID: 12737
		private UnknownFieldSet _unknownFields;

		// Token: 0x040031C2 RID: 12738
		public const int NumFieldNumber = 6;

		// Token: 0x040031C3 RID: 12739
		private uint num_;

		// Token: 0x040031C4 RID: 12740
		public const int PassengerIdFieldNumber = 11;

		// Token: 0x040031C5 RID: 12741
		private uint passengerId_;
	}
}
